.msg {
	max-width: 100%;
	padding: 5px 1em;
	line-height: 1;
	font-size: 13px;
	border-radius: 3px;

	> .iconfont {
		float: left;
		font-size: 20px;

		+ p {padding-left: 25px;}
	}

	> p {line-height: 1.6;}
}

@mixin buildMessage($color, $val) {
	color: $color;
	background: lighten($color, $val);
}

// .msg-info {
// 	@include buildMessage($color-info, 39);
// }

.msg-normal {
	@include buildMessage($color-normal, 38.5);
}

.msg-success {
	@include buildMessage($color-success, 38.5);
}

.msg-warning {
	@include buildMessage($color-warning, 34.5);
}

.msg-error {
	@include buildMessage($color-danger, 32.5);
}
